.orderCashier-container {
    padding-bottom: 42px;

    .orderCashier-main {
        padding: 0 12px;

        &-section-title {
            padding: 30px 0 10px 0;
            font-size: 16px;
            font-family: PingFang SC;
            font-weight: bold;
            color: #FFFFFF;
            line-height: 16px;
        }

        &-money {
            margin-top: 10px;
            padding: 12px 20px;
            background: #28282E;
            border-radius: 8px;
            .main-money-serve{
                display: flex;
                align-items: center;
                border-bottom: 1px solid #383840;
                flex-wrap: wrap;
                .serve-item{
                    font-family: PingFang SC;
                    font-weight: 500;
                    font-size: 10px;
                    color: #CCCCCC;
                    line-height: 10px;
                    margin-right: 12px;
                    white-space: nowrap;
                    padding-bottom: 10px;
                }
            }
            &__label {
                font-size: 16px;
                font-family: PingFang SC;
                font-weight: 500;
                color: #FFFFFF;
                line-height: 16px;
                padding-top: 12px;
            }

            &__value {
                font-size: 0;
                padding-top: 13px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                .money__value-left{
                    margin-right: 10px;
                }
                .money__value-right{
                    background: #393940;
                    border-radius: 5px;
                    font-family: PingFang SC;
                    font-weight: 500;
                    font-size: 14px;
                    color: #FFCC66;
                    line-height: 14px;
                    padding: 6px 17px 6px 10px;
                }
            }

            &__rmb {
                font-size: 12px;
                font-family: PingFang SC;
                font-weight: bold;
                color: #FFAA00;
                line-height: 12px;
            }

            &__price {
                font-size: 24px;
                font-family: PingFang SC;
                font-weight: bold;
                color: #FFAA00;
                line-height: 24px;
            }

            &__brother {
                font-size: 12px;
                font-family: PingFang SC;
                font-weight: 500;
                color: #CCCCCC;
                line-height: 12px;
                padding-top: 11px;
                white-space: nowrap;
                .span {
                    margin-right: 14px;
                    display: inline-block;
                    white-space: nowrap;
                }
            }
        }
        .orderCashier-main-preferential{
            .preferential-title{
                padding-top: 30px;
                font-family: PingFang SC;
                font-weight: bold;
                font-size: 16px;
                color: #FFFFFF;
                line-height: 16px;
                padding-bottom: 20px;
            }
            .preferential-main{
                background: #28282E;
                border-radius: 8px;
                padding: 12px 12px 0;
                &.disable{
                    filter: grayscale(100%); /* 灰度效果 */
                }
                .preferential-main-item{
                    display: flex;
                    align-items: center;
                    padding-bottom: 10px;
                    position: relative;
                    &.disable{
                        filter: grayscale(100%); /* 灰度效果 */
                        // background-color: #393939;
                    }
                    &.spe{
                        border-bottom: 1px solid #383840;
                        margin-bottom: 12px;
                    }
                    .dialog-cashpay-field__input{
                        width: 100px;
                        height: 40px;
                        background: #383840;
                        border-radius: 4px;
                        padding-left: 10px;
                        padding-top: 10px;
                    }
                    .item-icon{
                        font-family: PingFang SC;
                        font-weight: 500;
                        font-size: 16px;
                        color: #FFFFFF;
                        line-height: 16px;
                        position: absolute;
                        left: 100px;
                        top: 12px;
                        z-index: 100;
                    }
                    .item-color{
                        width: 66px;
                        font-family: PingFang SC;
                        font-weight: 500;
                        font-size: 14px;
                        color: #CCCCCC;
                        line-height: 14px;
                        white-space: nowrap;
                        margin-left: 8px;
                        &.low{
                            width: 20px;
                        }
                    }
                    .item-low{
                        width: 110px;
                        font-family: PingFang SC;
                        font-weight: 500;
                        font-size: 14px;
                        color: #CCCCCC;
                        line-height: 14px;
                        white-space: nowrap;
                        text-align: right;
                    }
                    .item-color-spe{
                        font-family: PingFang SC;
                        font-weight: 500;
                        font-size: 14px;
                        color: #FFAA00;
                        line-height: 14px;
                        margin-left: 8px;
                    }
                    ::v-deep(.van-checkbox__icon--disabled .van-icon){
                        background-color: #28282e !important;
                    }
                    ::v-deep(.van-dropdown-menu__item){
                        background: #28282e;
                        height: 40px;
                    }
                    ::v-deep(.van-dropdown-menu__bar ){
                        height: 40px;
                    }
                    ::v-deep(.van-haptics-feedback:active){
                        background: #28282e;
                        opacity: 1;
                    }
                    ::v-deep(.van-checkbox__icon--checked .van-icon ){
                        color: #FFAA00 ;
                        border: 1px solid #FFAA00 !important;
                    }
                    --van-dropdown-menu-shadow: none;
                    ::v-deep(.van-dropdown-menu__title:after){
                        // display: none;
                    }
                    ::v-deep(.van-ellipsis ){
                        color: #CCCCCC;
                    }
                    ::v-deep(.van-cell:after ){
                        display: none;
                    }
                    ::v-deep(.van-dropdown-menu__title--active){
                        color: #b8babc;
                    }
                    ::v-deep(.van-cell__value){
                        display: none;
                    }
                   
                    .select1{
                        ::v-deep(.van-dropdown-item__content){
                            width: 135px;
                        }
                        ::v-deep(.van-dropdown-item__option){
                            width: 135px;
                            background: #28282e;
                            color: #FFFFFF;
                            text-align: center;
                            padding: 5px 0;
                        }
                        ::v-deep(.van-popup--top){
                            left: 216px;
                            // position: static;
                        }
                    }
                    .select2{
                        ::v-deep(.van-dropdown-item__content){
                            width: 25px;
                        }
                        ::v-deep(.van-dropdown-item__option){
                            width: 25px;
                            background: #28282e;
                            color: #FFFFFF;
                            text-align: center;
                            padding: 2px 0;
                        }
                        ::v-deep(.van-popup--top){
                            left: 218px;
                            // position: static;
                        }
                    }
                }
            }
        }
        &-pay {
            &-list {
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;
            }

            &-item {
                display: flex;
                align-items: center;
                margin-top: 10px;
                padding: 9px 20px;
                width: 170px;
                background: #28282E;
                border-radius: 8px;
            }

            &__cover {
                width: 22px;
                height: 22px;
            }

            &__way {
                font-size: 16px;
                font-family: PingFang SC;
                font-weight: 500;
                color: #FFFFFF;
                line-height: 16px;
                padding-left: 12px;
            }
        }

        &-record {
            &-list {}

            &-item {
                margin-top: 10px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                background: #28282E;
                border-radius: 8px;
                padding: 12px;
            }

            &__info {}

            &__way {
                font-size: 16px;
                font-family: PingFang SC;
                font-weight: 500;
                color: #FFFFFF;
                line-height: 16px;
            }

            &__time {
                font-size: 12px;
                font-family: PingFang SC;
                font-weight: 500;
                color: #CCCCCC;
                line-height: 12px;
                padding-top: 18px;
            }

            &__money {
                font-size: 18px;
                font-family: PingFang SC;
                font-weight: bold;
                line-height: 18px;
                display: flex;
                flex-direction: column;
                align-items: center;
                

                &.green {
                    color: #00FF00;
                }
                .record-value{
                    font-family: PingFang SC;
                    font-weight: bold;
                    font-size: 18px;
                    color: #FFFFFF;
                    line-height: 18px;
                    padding-bottom: 10px;
                    &.red {
                        color: #FF3333;
                    }
                }
                .record-back{
                    width: 50px;
                    height: 24px;
                    background: #5C5C66;
                    border-radius: 5px;
                    font-family: PingFang SC;
                    font-weight: 500;
                    font-size: 12px;
                    color: #FFFFFF;
                    line-height: 24px;
                    text-align: center;
                    align-self: flex-end;
                }
            }
        }

    }
}

.popup-pay-member {
    padding: 0 20px 20px;

    .popup-pay-form {
        padding-top: 54px;

        &-item {
            background: #5C5C66;
            border-radius: 4px;
            padding: 12px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 260px;
        }

        &__input {
            display: block;
            width: 100%;
            padding-right: 22px;
            font-size: 16px;
            font-family: PingFang SC;
            font-weight: 500;
            color: #FFFFFF;
            line-height: 16px;
        }

        &__icon {
            display: block;
            width: 24px;
            height: 24px;
        }

        &-control {
            padding-top: 30px;
            width: 160px;
            margin: auto;
        }
    }
}

.popup-collect {
    width: 334px;
    padding: 0 47px 20px 47px;
    background: #45454D;
    border-radius: 8px;

    &-title {
        font-family: PingFang SC;
        font-weight: 500;
        font-size: 24px;
        color: #FFAA00;
        line-height: 24px;
        padding-top: 40px;
        text-align: center;

        .unit {
            font-size: 12px;
            line-height: 12px;
        }
    }

    &-subtitle {
        font-family: PingFang SC;
        font-weight: 500;
        font-size: 12px;
        color: #CCCCCC;
        line-height: 12px;
        padding-top: 12px;
        text-align: center;
    }

    &-cover {
        margin-top: 20px;
        position: relative;
        width: 240px;
        height: 240px;
    }

    &-overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 2;
        background-color: rgba(0, 0, 0, .8);
        font-family: PingFang SC;
        font-weight: 500;
        font-size: 18px;
        color: #CCCCCC;
        line-height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }


    &-baseUrl {
        width: 100%;
        display: block;
    }

    &-code {
        position: relative;
        z-index: 1;
        overflow: hidden;
        background: #45454D;
    //     position: absolute;
    //     top: 0;
    //     left: 0;
    //     z-index: 10;
    //     overflow: hidden;
    //     width: 50px;
    //     height: 50px;
    }

    &-panel {
        margin-top: 20px;
        padding: 12px 16px 12px 12px;
        background: #5C5C66;
        border-radius: 4px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    &-countdown {
        font-family: PingFang SC;
        font-weight: 500;
        font-size: 13px;
        color: #CCCCCC;
        line-height: 13px;

        .highlight {
            color: #FFAA00;
        }
    }

    &-refresh {
        font-family: PingFang SC;
        font-weight: 500;
        font-size: 16px;
        color: #FFAA00;
        line-height: 16px;
        padding-left: 16px;
        border-left: 1px solid #FFAA00;

        &.disabled {
            color: #999999;
        }
    }
}

.van-popup {
    background-color: transparent;
}

.popup-remark {

    padding: 20px 0;

    :deep(.van-field) {
        padding: 12px;
        width: 252px;
        height: 80px;
        background: #5c5c66;
        border-radius: 4px;
        display: block;
        width: 100%;
    }

    :deep(.van-field__control) {
        color: #ffffff;
    }
}

.dialog-cashpay {
    padding-top: 30px;
    padding-bottom: 10px;

    &-title {
        font-size: 14px;
        font-family: PingFang SC;
        font-weight: 500;
        color: #999999;
        line-height: 14px;
        padding-bottom: 20px;
        text-align: center;
        &.spe{
            text-align: right;
        }
        .highlight {
            color: #FFAA00;
        }
    }

    &-field {
        display: flex;
        align-items: center;
        margin-bottom: 14px;

        &__label {
            font-size: 16px;
            font-family: PingFang SC;
            font-weight: 500;
            color: #CCCCCC;
            line-height: 16px;
            padding-right: 11px;
        }

        &__group {
            flex: 1;
            background: #5C5C66;
            border-radius: 4px;
            padding: 0 12px 0 0;
            font-size: 16px;
            font-family: PingFang SC;
            font-weight: 500;
            color: #FFFFFF;
            line-height: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        &__input {
            display: block;
            width: 100%;
            background: #5C5C66;
            border-radius: 4px;
            caret-color: #FFFFFF;
            -webkit-text-fill-color: #FFFFFF;
            font-size: 16px;
            font-family: PingFang SC;
            font-weight: 500;
            color: #FFFFFF;
            line-height: 16px;
            padding: 12px;

            &::placeholder {
                color: #999999;
                -webkit-text-fill-color: #999999;
            }

            &::after {
                transform: scaleY(0)
            }
        }

        &__right {
            color: #CCCCCC;
        }
    }
    .dialog-cashpay-give{
        display: flex;
        align-items: center;
        white-space: nowrap;
        justify-content: space-between;
        .give-title{
            font-family: PingFang SC;
            font-weight: 500;
            font-size: 16px;
            color: #CCCCCC;
            line-height: 16px;
        }
        ::v-deep(.van-checkbox__icon--checked .van-icon ){
            color: #FFAA00 ;
            border: 1px solid #FFAA00 !important;
        }
        .dialog-cashpay-field__input{
            width: 150px;
        }
    }
}
.cm-order-header {
    &__value {
        padding-right: 0;
    }
}

.orderCashier-footer {
    background: #0C0C0D;
    padding: 10px 12px;
    display: flex;
    justify-content: flex-end;

    &-button {
        border-radius: 40px;
        border: 1px solid #999999;
        padding: 12px 0;
        width: 120px;
        // height: 80px;
        text-align: center;
        font-family: PingFang SC;
        font-weight: bold;
        font-size: 18px;
        color: #CCCCCC;
        line-height: 18px;
        &.spe{
            background: linear-gradient(0deg, #CCA67A, #FFF4D9);
            color: #260C04;
            margin-left: 10px;
        }
    }
}
